home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
programs
/
vote52.zip
/
PACKVOTE.DOC
< prev
next >
Wrap
Text File
|
1992-04-12
|
3KB
|
92 lines
-=( PackVote 1.0 )=-
PackVote is the maintainance program for the VoteDoor. It moves old questions
to the history file and posts results to the user who asked the original
question.
Parameters:
===========
-VOTES:<MaxVotes>
Delimits the number of votes on a question. VoteDoor uses an internal
list of 500 entries to keep track of who already voted. The default
value for this parameter is 450 votes. When a question is remove The
results are copied to the history file.
-DAYS:<NoDays>
Delimits the number of days a question stays in the VoteDoor. After the
given amount of days the question is removed. The results are copied to
the history file.
-AREA:<AreaNr>
PackVote has the ability to send a message to the user who asked the
question. This parameter defines the area in which the message is
posted. See also the info on the "POSTMSG.<Language>" later in this
documentation. No area means no posting of messages. The AreaNr has
to be between 1 and 200. An illegal areanr aborts the program.
-PRV
If this parameter is used, the result messages are posted as private
messages.
-NOMIX
If this parameter is used, PackVote makes different historyfiles for
different languages. In that case you also should use the -NoMix
parameter on the VoteDoor commandline!
-MSG<path to msgbase directory>
If you want to post the results you need thisone! It tells PackVote
where to find the msgbase.
-ML
If you run a multiline system and want to post the results, you need
thisone to! When found on the commandline, PackVote implements
messagebase locking..
POSTED.<LANGUAGE>
=================
Posted.<Language> contains the messagebody for resultmessages which are send
to the users when their question is removed. The default language is
english. So you should at least prepare a file POSTED.ENG if you want to use
this feature. The language used is the language the user had selected at the
moment he posted the question. If no POSTED.<Lang> is found for that language
the english message is used.
In the messagebody you can use a number of macro's. Except for the
%%QUESTION and %%RESULT macro's they may appear whereever you like.
The %%QUESTION and %%RESULT macro can be anywhere on a line, but other
contents of the line are lost!
%%TO The name of the user who asked the question
%%DAYS The number of days since the question was posted
%%DATE The date the question was posted
%%COUNT The total number of votes on the question
%%PROG "VoteDoor 5.0"
%%QUESTION The question (3 lines!)
%%RESULT The results (5 lines!)
Last remarks:
=============
- Run PackVote from the same directory as where the VoteDoor itself can be
found, OR set the VOTE= environment variable. Otherwise PackVote can't find
the supportfiles and datafile!
- The historyfile isn't realy readable for humans. It's intended to be
read from within VoteDoor.
- If your msgbase is important, you better back it up! The routines I used
for this program are tested, the program is tested (At releasetime) but
still.. See the disclaimer in the votedoor documentation!